﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CreateStaticHtml.Account
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RegisterHyperLink.NavigateUrl = "../Default.aspx";
        }

        protected void LoginButton_Click(object sender, EventArgs e)
        {
            if (this.UserName.Text.Equals("talentzzrr") && this.Password.Text.Equals("suanleba"))
            {
                Session["user"] = "talentzzrr";
                Response.Redirect("/Default.aspx");
            }
        }
    }
}
